\begin{usecase}{open file}
\uPA{User}
\begin{events}
\event{System shows folder browser dialog}
\event{User selects the file he wants to open}
\event{System opens the file}
\event{System initializes timeline with amplitudes}
\end{events}
\entryCon{}
\exitCon{System has loaded the selected file}
\extensions{cannot open file}
\quality{User can select the file easily with folder browser}
\end{usecase}

\begin{usecase}{cannot open file}
\uPA{}
\begin{events}
\event{System shows error message}
\event{System again shows folder browser dialog where User can choose other file}
\end{events}
\entryCon{User selected file with wrong type or corrupted file}
\exitCon{}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{navigate to position}
\uPA{User}
\begin{events}
\event{User selects in timeline visualization from where to play}
\event{System jumps to selected audioblock}
\event{System continues playing}
\end{events}
\entryCon{User doubleclicks on time line visualization}
\exitCon{System is playing from selected position}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{select segment}
\uPA{User}
\begin{events}
\event{User selects segment of song in timeline visualization}
\event{System highlights selected segment}
\end{events}
\entryCon{User clicks and drags cursor in timeline visualization}
\exitCon{Selected segment is highlighted}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{delete segment}
\uPA{User}
\begin{events}
\event{User clicks on selected segment}
\event{System asks User what he wants to do}
\event{User chooses "delete"}
\event{System deletes selected audioblocks}
\event{System merges the start and end of remaining blockes together}
\end{events}
\entryCon{User clicks on selected segment and chooses "delete"}
\exitCon{Segment is deleted}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{copy segment}
\uPA{User}
\begin{events}
\event{User clicks on selected segment}
\event{System asks User what he wants to do}
\event{User chooses "copy"}
\event{System copies selected audioblocks into buffer}
\end{events}
\entryCon{User clicks on selected segment and chooses "copy"}
\exitCon{System has copied selected audioblocks into buffer}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{paste segment}
\uPA{User}
\begin{events}
\event{User does a rightclick on the timeline}
\event{System asks User what he wants to do}
\event{User chooses "paste"}
\event{System copies audioblocks from buffer into selected position}
\end{events}
\entryCon{User clicks on timeline and chooses "paste"}
\exitCon{System has copied audioblocks from buffer to selected position}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{play}
\uPA{User}
\begin{events}
\event{User clicks on play button}
\event{System starts playback of loaded song, either at start or selected position}
\end{events}
\entryCon{User clicks on play button / song is loaded}
\exitCon{Playback of the song has started}
\extensions{give repeating cue}
\quality{}
\end{usecase}

\begin{usecase}{give repeating cue}
\uPA{}
\begin{events}
\event{System waits a few moments}
\event{System give a visual and/or a audio signal}
\event{System replays loaded song or selected segment}
\end{events}
\entryCon{Playback is at end of song or selected segment / repeating is activated}
\exitCon{Cue is given and playback start from the beginning again}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{pause}
\uPA{User}
\begin{events}
\event{User clicks on pause button}
\event{System stops playback}
\end{events}
\entryCon{User clicks on pause button / song is playing}
\exitCon{Playback is paused}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{stop}
\uPA{User}
\begin{events}
\event{User clicks on stop button}
\event{System stops playback}
\event{System set position on timeline to the start of the selected segment or the loaded song}
\end{events}
\entryCon{User clicks on stop button / song is loaded}
\exitCon{Playback has stopped and position is resetted}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{change playback speed}
\uPA{User}
\begin{events}
\event{User changes value of speed slider}
\event{System adjust playback speed according to slider either faster or slower}
\end{events}
\entryCon{User changes value of speed slider}
\exitCon{Playback speed is adjusted}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{control volume}
\uPA{User}
\begin{events}
\event{User changes value of volume slider}
\event{System changes volume according to the slider}
\end{events}
\entryCon{User changes value of volume slider}
\exitCon{Volume is adjusted to desired value}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{apply audio effect}
\uPA{User}
\begin{events}
\event{User chooses which effect he wants to activate}
\event{System creates editable list with order of effects}
\end{events}
\entryCon{}
\exitCon{All audio effects in right order are applied}
\extensions{set repeating, adjust gain, tweak pitch, configure metronom, filter voice, import plugin}
\quality{}
\end{usecase}

\begin{usecase}{set repeating}
\uPA{User}
\begin{events}
\event{User chooses if he wants the repeating mode to be on or off}
\event{System applies mode according to user's choice}
\end{events}
\entryCon{User configures audio effects}
\exitCon{Repeating mode is either on or off}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{adjust gain}
\uPA{User}
\begin{events}
\event{User adjust gain with sliders for low, middle and high frequency ranges}
\event{System applies audio effect with given parameters}
\end{events}
\entryCon{User configures audio effects}
\exitCon{Audio effect with User-specified parameters is applied}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{tweak pitch}
\uPA{User}
\begin{events}
\event{User specifies parameter for this audio effect}
\event{System applies audio effect with given parameters}
\end{events}
\entryCon{User configures audio effects}
\exitCon{Audio effect with User-specified parameters is applied}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{configure metronom}
\uPA{User}
\begin{events}
\event{User activates or deactivates the metronom}
\event{User sets tempo of metronom}
\event{User sets sound level of metronom}
\event{System starts metronom if activated}
\end{events}
\entryCon{User configures audio effects}
\exitCon{Metronom is activated or not}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{filter voice}
\uPA{User}
\begin{events}
\event{User selects if he wants this filter to be active or not}
\event{System filters voice if this filter is activated}
\end{events}
\entryCon{User configures audio effects}
\exitCon{Voice is filtered if the filter is activated}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{import plugin}
\uPA{User}
\begin{events}
\event{System shows folder browser dialog}
\event{User selects desired audio effect plugin}
\event{System loads plugin}
\event{System applies audio effect from plugin}
\end{events}
\entryCon{}
\exitCon{Audio effect from plugin is applied}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{load profile}
\uPA{User}
\begin{events}
\event{User}
\event{System shows list of available profiles}
\event{User chooses which profile he wants to load}
\event{System loads selected profile and fit audioeffects}
\end{events}
\entryCon{}
\exitCon{Profile is loaded and audioeffects are adjusted}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{save profile}
\uPA{User}
\begin{events}
\event{User}
\event{System asks for a name for the profile}
\event{System saves active settings and effects into a file}
\end{events}
\entryCon{}
\exitCon{Profile settings are saved to hard disc}
\extensions{}
\quality{}
\end{usecase}

\begin{usecase}{close application}
\uPA{User}
\begin{events}
\event{System asks wheter he really wants to close}
\event{User clicks "YES"}
\event{System closes}
\end{events}
\entryCon{User clicks exit button}
\exitCon{Application is closed}
\extensions{}
\quality{}
\end{usecase}

